Skip to content

Update Microsoft.Extensions to 10.0.15 and SourceLink to 10.0.404 - #10

Merged
Prengemann merged 1 commit into
mainfrom
pakete/extensions-10.0.15-sourcelink-10.0.404
Nov 13, 2026
Merged

Prengemann merged 1 commit into
mainfrom
pakete/extensions-10.0.15-sourcelink-10.0.404

Conversation

@Prengemann

Copy link
Copy Markdown
Contributor

Why

.NET 11 shipped on 2026-11-10, so nuget.org now offers the Microsoft.Extensions packages as 11.0.0 and SourceLink as 11.0.100. The app targets .NET 10 (LTS), so it stays on the 10.0 servicing line. That line had three patches the app did not have yet (10.0.13–10.0.15).

Changes

  • Microsoft.Extensions (EvenBetterFastSim.csproj:36-41): Configuration, Configuration.Binder, Configuration.Json, DependencyInjection, Logging and Options go from 10.0.12 to 10.0.15. The transitive Extensions packages follow to 10.0.15 (Abstractions, FileProviders, FileSystemGlobbing, Primitives, and also the Logging.Abstractions that SecsGemBase asks for with >= 10.0.12).
    • 11.0.0 was left out on purpose. Configuration.Json 11.0.0 would add System.Text.Json 11.0.0 as a package, outside .NET 10 servicing.
  • Microsoft.SourceLink.GitHub (the Update item in both csproj files) goes from 10.0.401 to 10.0.404, matching the .NET 10 SDK 10.0.404. 11.0.100 belongs to SDK 11.

Verification

  • Linux SDK 10.0.404, Release build of the app and of the test project: 0 warnings, 0 errors. Tests under Wine with Windows .NET: 7/7 pass.
  • obj/project.assets.json has all 14 Microsoft.Extensions packages at 10.0.15 and SourceLink/Build.Tasks.Git at 10.0.404. There is no 11.x package and no System.Text.Json package, and restore logged nothing.
  • bin/Release/net10.0-windows7.0 has no System.Text.Json.dll. The SourceLink JSON in the embedded PDB still maps to raw.githubusercontent.com/Pre-Se/EvenBetterFastSim/<sha>.
  • App under Wine/Xvfb, branch build:
    • Setup: a Passive and an Active profile with seeded usersettings.json (127.0.0.1:5123, T3 = 41000, T6 = 4321).
    • Both connected, reached HSMS Selected and exchanged S1F13/S1F14.
    • Connection ▸ Properties showed the seeded endpoint and HSMS values.
    • The System Log showed messages from the app and from SecsGemBase.
    • Both instances closed through the window's close button and rewrote usersettings.json, with no output on stderr.
  • An independent review covered the dependency graph, build/CI/release and the eight tickets, and a second agent tried to refute each finding. It found no defects in this change. Its pre-existing side findings are now separate internal tickets (see below).
  • Not run on Windows yet: the CI run of this PR (windows-latest) is the first check there.

Not in this PR (separate internal tickets)

  • A Passive profile sometimes starts as a client: CommunicationHandler is built before the settings are bound, and the restart triggered by the bind can drop the mode change (issue 35, already on main).
  • SourceLink puts System.IO.Hashing.dll into the app output and the release exe (issue 36, already on main).
  • CI and release do not pin the SDK: once the runner image ships SDK 11, they build with it (issue 37).
  • The direct Microsoft.Extensions.Options reference is redundant (issue 38).
  • Build package versions duplicated between Directory.Build.props and the csproj files, the test package updates and the MessagePack 3.* pin stay with issues 7, 5 and 6.

Merge

A squash merge to main triggers release.yml and publishes v1.0.0-build.4. The windows-latest image has SDKs up to 10.0.403, and setup-dotnet '10.0.x' adds 10.0.404, so the exe should bundle the .NET 10.0.15 runtime (internal issue 11). The step "Show bundled runtime version" shows which one it bundled.

Internal board (secsgem/evencoolerfastsim): implements issues 27–34. Follow-ups: issues 35–38.

🤖 Generated with Claude Code

Stay on the .NET 10 servicing line instead of the new 11.0.x packages:

- Microsoft.Extensions.Configuration, .Configuration.Binder,
  .Configuration.Json, .DependencyInjection, .Logging and .Options:
  10.0.12 -> 10.0.15. The transitive Microsoft.Extensions packages follow
  to 10.0.15. 11.0.0 would add System.Text.Json 11.0.0 as a package and
  belongs to a later move to .NET 11.
- Microsoft.SourceLink.GitHub (Update item in both csproj files):
  10.0.401 -> 10.0.404, matching the .NET 10 SDK 10.0.404. 11.0.100 is the
  SDK 11 line.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Prengemann
Prengemann merged commit a380772 into main Nov 13, 2026
1 check passed
@Prengemann
Prengemann deleted the pakete/extensions-10.0.15-sourcelink-10.0.404 branch November 13, 2026 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant